CUBE CONNECT Edition Help

Setting- up input/output files

Your browser does not support HTML5 video.

Click here to play the video.

Input Files

There are different ways of setting-up input files to a program:

  • Link to an existing file:
  1. Right-click on the input file > Link To… > File.
  2. In Explorer navigate to input file > Open
  • Link to a Scenario key file:
  1. Right-click on the input file > Link To… > Scenario Key.
  2. The Link to Scenario Key window will open:

  3. Double click on the desired Scenario key on the right to select it.
  4. Click Update.
Tip: It is also possible to link file references for a program, to a string with a combination of catalog keys and other text. In the Scenario Key section, select the list of keys and edit the string in the Data Name box as desired.
  • Link to Tokens:

Tokens (@...variable_name…@) are global variables only valid during a model run, which are called in the model script. To link a program input to a token:

  1. Right-click on the input file > Link To… > Link to Token
  2. The Link to Token window will open:

  3. In the box, enter the strings with any token which creates a reference to the input file to be liked.
  4. Click Update

  • Link an output from a previous program

To link outputs to inputs inside the same application group:

  1. Click on the output file box.
  2. Hold the mouse button and drag it to the input file box of the target program
  3. Release the mouse button.

This should create a visible link between the two programs:

To Remove the link:

  • Right-click on the link > Delete Link

Output Files

To set-up output files to a program:

  • Auto name chosen file:
    • Right-click on the file box and select > Auto Name

Note: The auto file naming uses eight-character types to define a name for the file and prompts the user with a default location for saving the file. This location corresponds to the same as that of the application. If needed users can opt to choose a different location.

This tool is commonly used for setting up the standard print file (.PRN) of the program. It is also used for output files which are intermediate and are overwritten during different scenario runs.

  • New file
    • Right-click on the file box > Enter Name

The new file option lets the user, name the file and choose the destination folder

  • Make file scenario specific

Making a file scenario specific lets the user set-up the output location of the file to be the scenario folder. This type of set-up is used for final outputs and other files with important output analysis data.

Tip: You need to ensure that the file gets a unique name for each scenario.

1. Right-click on an already named output file > Make File Scenario Specific

2. Select the desired Data Directory:

  • Application/group directory: Stores the output data in a fixed location (path defined in application/group).
  • Project directory: Stores the output data in the project path.
  • Scenario directory: Stores the output data in a project subdirectory which is the scenario directory.

3. Select the desired Data Name option

4. Click OK

  • Link to scenario keys/tokens

Linking output files to scenario keys and tokens work the same as linking input files. See above